import service from "@/utils/fetch";
const post = {
  //查询会员分页
  vipType_list(params) {
    return service({
      method: "get",
      params,
      url: "/api/vipType/"
    });
  },

  // 新增会员
  vipType_add(params) {
    return service({
      method: "post",
      data: params,
      url: "/api/vipType/"
    });
  },

  // 编辑会员
  vipType_edit(params) {
    return service({
      method: "put",
      data: params,
      url: "/api/vipType/"
    });
  },

  // 删除会员
  vipType_delete(ids) {
    return service({
      method: "delete",
      data: ids,
      url: `/api/vipType/`
    });
  },
};

export default post;
